package com.example.teacherservice.dto;

import lombok.Builder;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
public class TeacherCourseDetailDTO {
    // 课程基本信息（补充所有字段）
    private Long id;
    private Long teaId;
    private String couName;
    private String couIntroduction;
    private String couPic;
    private Long couTypeId;
    private Long couParTypeId;
    private Long couPrice;
    private Integer couCataNum;
    private Long couCollNum;
    private Long couLikeNum;
    private Long couShareNum;
    private Long clicks;
    private Long purchase;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // 关联实体（补充具体业务字段）
    private List<ChapterDetailDTO> chapters;        // 章节（含标题、简介、链接）
    private List<StudentInfoDTO> students;          // 学生（含姓名）
    private List<ClassInfoDTO> classes;            // 班级（含名称）
    private List<CommentDetailDTO> comments;        // 评论（含内容）
}
